package Web.vo;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
//封装文章详情的实体类，只把需要的字段返回给前端
public class ArticleDetailVo {
    private Long id;

    private String title;
    //文章摘要
    private String summary;
    //访问量
    private Long viewCount;

    private String photo;

    //推荐量
    private Long recommendCount;
    //下载量
    private Long downloadCount;

    private Date createTime;

    private Date updateTime;

    private String status;

    private Long createBy;
}